﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Themes/NewsPage.Master" %>

<%@ Register Assembly="Ue.Qcdz.UI" Namespace="Ue.Qcdz.UI.Controls.SaleInfo" TagPrefix="cc1" %>
<%@ Register Assembly="Ue.Qcdz.UI" Namespace="Ue.Qcdz.UI.Controls.Adver" TagPrefix="ue" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlace" runat="server">
    <ue:LoadFiles ID="loadFile" StyleFiles="news.css" runat="server" />
    <script runat="server">
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            this.Page.Title = "新闻列表";
        }
        protected Func<object, string> BuildeUrlHandler = SiteUrls.Instance.NewsShow; 
    
    </script>
    <div class="location">
        <a href="/">汽车电子协会首页</a> &gt;
        <ue:Breadcrumb ID="breadcrumb" runat="server">
        </ue:Breadcrumb>
    </div>
    <!--banner开始-->
    <ue:AdvertRepetView ID="AdvertRepetView" SkinFileName="/Themes/zh-cn/Skins/Globals_AdBanner.ascx"
        WebSiteName="qcdz" PageName="NewsList" DivId="bannernews" runat="server">
    </ue:AdvertRepetView>
    <!--banner结束-->
    <!--左边开始-->
    <div class="leftBox">
        <!--条件筛选开始-->
        <div class="searca">
            <ue:SkinControl ID="newsSearchBar" SkinFileName="/Themes/zh-cn/Skins/Globals_NewsSearchBar.ascx"
                runat="server" />
        </div>
        <!--条件筛选结束-->
        <ue:ArticleList ID="nodeNewsList" SkinFileName="/Themes/zh-cn/Skins/Globals_RepeaterTitleSmallimg.ascx"
            runat="server" PageSize="15" TitleMaxLength="60" OnBuildItemUrlHandler="BuildeUrlHandler"
            EnableAspNetPager="true" SortType="TimeDesc">
        </ue:ArticleList>
        <script type="text/javascript">
            //每十条新闻分隔一下
            jQuery(document).ready(function () {
                $(".newsList3 li").slice(0, 10).wrapAll("<ul></ul>");
                $(".newsList3 li").slice(10, 20).wrapAll("<ul></ul>");
                $(".newsList3 li").slice(20, 30).wrapAll("<ul></ul>");
            });
        </script>
        <!--相关产品开始 当前分类-->
        <ue:ProductView ID="ProductView1" runat="server" Num="10" State="Enable" SkinFileName="/Themes/zh-cn/Skins/Globals_RelationalProductionBox.ascx">
                    </ue:ProductView>
        <!--相关产品结束 当前分类-->
    </div>
    <!--左边结束-->
    <!--右边开始-->
    <div class="rightBox">
        <ue:SkinControl ID="NewsRightBox" SkinFileName="/Themes/zh-cn/Skins/Globals_NewsRightBox.ascx"
            runat="server" />
    </div>
    <!--右边结束-->
</asp:Content>
